//
//  SMSRequestProvider.h
//  SulitLoan
//
//  Created by 虞嘉伟 on 2025/2/26.
//  
  

#import <YTKNetwork/YTKRequest.h>

NS_ASSUME_NONNULL_BEGIN

@interface Item1MediaUploadRequestProvider : NSObject

/// 图片上传
/// - Parameters:
///   - imageSource: 图片来源:1相册 2:拍照上传
///   - productId: 产品id
///   - peppers: 10:人脸自拍, 11身份证正面
///   - data: 压缩500K以内的图片NSData
///   - cardType: 卡类型 UMID/SSS/TIN/PASSPORT/DRIVINGLICENSE/PRC/POSTAL/Voter/PhilHealth
///   - success: 成功回调
///   - failure: 失败回调
+ (void)requestUploadMediaWithImageSource:(NSString *)imageSource
                                productId:(NSString *)productId
                                  peppers:(NSString *)peppers
                                    image:(UIImage *)image
                                 cardType:(NSString *)cardType
                                  success:(void(^)(NSDictionary *dict))success
                                  failure:(void(^)(YTKRequest *request))failure;
@end

NS_ASSUME_NONNULL_END
